package simple15.observer;

public class CustomerObserver implements Observer {
    private String name;

    public CustomerObserver(String name) {
        this.name = name;
    }

    @Override
    public void update() {
        System.out.println(name+"购买表芒");
    }
}
